<template>
    <qly-base-page :title="$t('common.orderToday')" refresherEnabled customize padding="0" :showSafeArea="false">
        
        <template #header>
            <up-gap height="1" bgColor="#f5f5f5"></up-gap>
            
            <view class="search-box">
                <up-search :placeholder="$t('common.pleaseEnterOrderNumber')" v-model="params.keyword"></up-search>
            </view>
            <up-gap height="1" bgColor="#f5f5f5"></up-gap>
        </template>
        
        <template v-if="qly.role.guideRole()">
            <!--        今日订单-->
            <tr-guide-card/>
            
            <!--        明日订单-->
            <tr-guide-card disabled/>
        </template>
        
        <template v-if="qly.role.driverRole()">
            <!--        今日订单-->
            <tr-guide-card/>
            
            <!--        明日订单-->
            <tr-guide-card disabled/>
        </template>
    </qly-base-page>
</template>
<script setup>

const params = ref({
    keyword: ''
})
</script>
<style scoped lang="scss">
.search-box {
    padding: 12rpx 24rpx;
    background-color: #fff;
    box-sizing: border-box;
}
</style>
